<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no">

    <script src="http://localhost:8088/jquery.min.js"></script>


    <title>欢迎界面</title>
</head>

<body>
<p id="welcome" align="right">xxxxx@qq.com, 欢迎登录系统!</p>


<script type="text/javascript">
    $(document).ready(function () {
        //打开页面的时候执行

        var data  = window.localStorage.getItem('email');
        var  datas = data.split("|");
        alert(datas[1]);
        document.cookie = datas[1];


        document.getElementById("welcome").innerText = datas[2] + ",欢迎登录系统!";


    });

</script>
</body>
</html>